/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tv.global.rn;

import tv.global.dao.*;
import java.util.List;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import tv.global.modelo.ItemBanner;

/**
 *
 * @author Claudio
 */
@Stateless
public class BannerRN extends BaseDAO {

    @EJB private BannerDAO bannerDAO;

    public ItemBanner getItemBanner(Double id){
        return bannerDAO.getItemBanner(id);
    }

    public List<ItemBanner> getLista(){

        return bannerDAO.getLista();
    }
}
